package com.rivulet.doj_backend.pojo;

public class Message {
    private Integer message_id;
    private Integer message_range;
    private Integer publisher_id;
    private Integer relation_class_id;
    private String message_content;

    public Message() {
    }

    public Message(Integer message_id, Integer message_range, Integer publisher_id, Integer relation_class_id, String message_content) {
        this.message_id = message_id;
        this.message_range = message_range;
        this.publisher_id = publisher_id;
        this.relation_class_id = relation_class_id;
        this.message_content = message_content;
    }

    public Integer getMessage_id() {
        return message_id;
    }

    public void setMessage_id(Integer message_id) {
        this.message_id = message_id;
    }

    public Integer getMessage_range() {
        return message_range;
    }

    public void setMessage_range(Integer message_range) {
        this.message_range = message_range;
    }

    public Integer getPublisher_id() {
        return publisher_id;
    }

    public void setPublisher_id(Integer publisher_id) {
        this.publisher_id = publisher_id;
    }

    public Integer getRelation_class_id() {
        return relation_class_id;
    }

    public void setRelation_class_id(Integer relation_class_id) {
        this.relation_class_id = relation_class_id;
    }

    public String getMessage_content() {
        return message_content;
    }

    public void setMessage_content(String message_content) {
        this.message_content = message_content;
    }

    @Override
    public String toString() {
        return "Message{" +
                "message_id=" + message_id +
                ", message_range=" + message_range +
                ", publisher_id=" + publisher_id +
                ", relation_class_id=" + relation_class_id +
                ", message_content='" + message_content + '\'' +
                '}';
    }
}
